package com.akkainaction.tool.extension.spring;

import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Props;

public class TestDI {

    public static void main(String[] args) {
        ActorSystem system = ActorSystem.create("sys");
        ActorRef actorDemo = system.actorOf(Props.create(DI.class), "actorDemo");
        actorDemo.tell("hello",ActorRef.noSender());
    }
}
